Skip to content

feat: implement OpenAPI TestAPI generator#1356

Merged
tschlat merged 2 commits intomainfrom
issue/1175/open_api_generator
Jun 30, 2025
Merged

feat: implement OpenAPI TestAPI generator#1356
tschlat merged 2 commits intomainfrom
issue/1175/open_api_generator

Conversation

@tschlat
Copy link
Collaborator

@tschlat tschlat commented Jun 10, 2025

Introduce the OpenAPI TestAPI generator

@tschlat tschlat requested a review from bbortt June 10, 2025 10:03
@tschlat tschlat force-pushed the issue/1175/open_api_generator branch from 4f7cc83 to e282843 Compare June 10, 2025 10:05
Copy link
Collaborator

@bbortt bbortt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well done! here are some of my thoughts 😛 only couple of questions and some minor adjustments I think would be good to add.

@tschlat tschlat requested a review from bbortt June 16, 2025 13:43
@tschlat tschlat changed the title draft: feat: implement OpenAPI TestAPI generator feat: implement OpenAPI TestAPI generator Jun 17, 2025
Copy link
Collaborator

@bbortt bbortt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for your work. just two more questions, I think.

//lgtm

@tschlat tschlat force-pushed the issue/1175/open_api_generator branch 2 times, most recently from e4b01b6 to 0f46834 Compare June 24, 2025 13:16
@tschlat tschlat requested a review from bbortt June 24, 2025 13:16
Copy link
Collaborator

@bbortt bbortt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well, looks good to me! please rebase the branch and solve the conflicts.

@tschlat tschlat force-pushed the issue/1175/open_api_generator branch 3 times, most recently from 652fb2e to b59a03e Compare June 26, 2025 13:15
@tschlat
Copy link
Collaborator Author

tschlat commented Jun 26, 2025

@bbortt any idea why i cannot resolve the open api generator in that build? No problem locally.

Failed to execute goal org.openapitools:openapi-generator-maven-plugin:7.14.0:generate (generate-openapi-petstore-files) on project citrus-openapi-codegen: Execution generate-openapi-petstore-files of goal org.openapitools:openapi-generator-maven-plugin:7.14.0:generate failed: Plugin org.openapitools:openapi-generator-maven-plugin:7.14.0 or one of its dependencies could not be resolved:

@bbortt
Copy link
Collaborator

bbortt commented Jun 27, 2025

@bbortt any idea why i cannot resolve the open api generator in that build? No problem locally.

Failed to execute goal org.openapitools:openapi-generator-maven-plugin:7.14.0:generate (generate-openapi-petstore-files) on project citrus-openapi-codegen: Execution generate-openapi-petstore-files of goal org.openapitools:openapi-generator-maven-plugin:7.14.0:generate failed: Plugin org.openapitools:openapi-generator-maven-plugin:7.14.0 or one of its dependencies could not be resolved:

@tschlat the missing dependency is citrus-test-api-generator-core! see the full log:

[INFO] --- openapi-generator:7.14.0:generate (generate-openapi-petstore-files) @ citrus-openapi-codegen ---
Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/citrusframework/citrus-test-api-generator-core/4.7.0-SNAPSHOT/maven-metadata.xml
Downloading from sonatype-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/citrusframework/citrus-test-api-generator-core/4.7.0-SNAPSHOT/maven-metadata.xml
Downloading from sonatype-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/citrusframework/citrus-test-api-generator-core/4.7.0-SNAPSHOT/citrus-test-api-generator-core-4.7.0-SNAPSHOT.pom
[WARNING] The POM for org.citrusframework:citrus-test-api-generator-core:jar:4.7.0-SNAPSHOT is missing, no dependency information available
Downloading from sonatype-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/citrusframework/citrus-test-api-generator-core/4.7.0-SNAPSHOT/citrus-test-api-generator-core-4.7.0-SNAPSHOT.jar

edit: because it's verify, not install I asumme.

@bbortt bbortt force-pushed the issue/1175/open_api_generator branch from 19ef70e to feafef3 Compare June 29, 2025 13:19
@bbortt
Copy link
Collaborator

bbortt commented Jun 29, 2025

acutally it was that the module has been renamed from citrus-test-api-generator-core to citrus-openapi-cogegen (19ef70e). I've also rebased from main after release v4.7.0.

@tschlat
Copy link
Collaborator Author

tschlat commented Jun 30, 2025

omg

@tschlat tschlat merged commit 1708385 into main Jun 30, 2025
1 of 2 checks passed
@bbortt bbortt deleted the issue/1175/open_api_generator branch June 30, 2025 04:54
@bbortt
Copy link
Collaborator

bbortt commented Jun 30, 2025

@christophd we've merged this because (in contrary to the previous PRs) it didn't touch existing code that deep. it's just the new maven plugin core (not the plugin itself). if something's not good in your 👀 , please let us know. we can deliver patches, of course.

now follows the very last PR with the actual plugin and documentation. then we must update citrusframework/citrus-simulator#315. and finally, were done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants